package club.zhangliyuanblog.dao;

import club.zhangliyuanblog.entity.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author liyuan.zhang
 * @date 2021/4/17 16:56
 */
@Mapper
public interface PaymentDao {
    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}

